package com.zjp.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zjp.entity.Member;
import com.zjp.mapper.MemberMapper;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MemberService extends ServiceImpl<MemberMapper, Member> {



    public int batchInsert(List<Member> list) {
        return baseMapper.batchInsert(list);
    }

    public int insertOrUpdate(Member record) {
        return baseMapper.insertOrUpdate(record);
    }

    public int insertOrUpdateSelective(Member record) {
        return baseMapper.insertOrUpdateSelective(record);
    }

}















